package com.umeox.moto.common.extension

import com.google.gson.GsonBuilder

/**
 * Created by Rambo 2021/8/6
 * Describe:
 */
object GsonExt {
    fun toJsonStr(obj: Any): String {
        val gson = GsonBuilder().setPrettyPrinting().create()
        return gson.toJson(obj)
    }
}

